home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / DomonicDefence4.swf / scripts / DefineButton2_1288 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2005-09-27  |  386 b   |  21 lines

  1. on(release){
  2.    saveLagPg3 = true;
  3.    if(_root.lightSpell2 == 1)
  4.    {
  5.       lightLag2 = light2.timey.timer;
  6.    }
  7.    if(_root.sheildSpell == 1)
  8.    {
  9.       sheildLag = sheild.timey.timer;
  10.    }
  11.    if(_root.dragonSpell == 1)
  12.    {
  13.       dragonLag = drago.timey.timer;
  14.    }
  15.    if(_root.spearSpell == 1)
  16.    {
  17.       spearLag = speared.timey.timer;
  18.    }
  19.    gotoAndPlay(1);
  20. }
  21.